package com.ncmmall.querychannel;

/**
 * @author linxs
 */
public final class QueryChannelExceptionHelper {

    /**
     * @param e
     * @return
     */
    public static QueryChannelException transform(Exception e) {
        if (e instanceof QueryChannelException) {
            return (QueryChannelException) e;
        }

        //		Throwable unwrap = Langs.toUnwrap(e);
        return new QueryChannelException(e);
    }

    //	private QueryChannelExceptionHlper() {}
}
